package cn.lyjuan.archetypes.bms.web.pwd;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * SpringSecurity 采用密码加密算法，这里可生成相匹配的密码
 */
public class GeneratorPassword
{
    public static void main(String[] args)
    {
        BCryptPasswordEncoder passwordEncoder = new BCryptPasswordEncoder();

        String pwdEncode = passwordEncoder.encode("123456");

        System.out.println("pwd >> " + pwdEncode);

    }
}
